<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Ding;
use App\Http\Controllers\Login;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//首页路由
Route::get('/', function () {
    return view('welcome');
});


//自定义路由
Route::get('te',[Ding::class,'test']);

//基本路由
Route::get('b1',function (){
   return "测试基本路由";
});


//Route::post('login',[Login::class,'mockLogin']);
